home *** CD-ROM | disk | FTP | other *** search
- Some notes on preparing a system for use with powernowd.
-
- The requirements for powernowd are really minimal. If you use a prebuilt 2.6
- kernel package, all the required kernel modules are included. You just need
- to ensure they are loaded (cpufreq_userspace, and on my system also
- speedstep_centrino). One way to do this is to add them to /etc/modules, which
- will cause them to load at boot time (see "man 5 modules").
-
- If you want to build your own kernel, make sure you include the userspace
- CPU frequency scaling governor in your config. Any released 2.6 kernel
- version should work, with the at least the following config options enabled:
-
- CONFIG_CPU_FREQ
- CONFIG_CPU_FREQ_GOV_USERSPACE
-
- You also need one of the processor drivers enabled, for my Pentium M notebook
- the right config option is:
-
- CONFIG_X86_SPEEDSTEP_CENTRINO
-
- I have all of these "=y" in my config file so that they are built directly
- into the kernel. If you decide to build them as modules, it's up to you to
- make sure they get loaded just as would be necessary with a Debian pre-built
- kernel.
-
- You also need to have the sysfs file system mounted, so that the daemon can
- find the interface to the frequency scaling support in the kernel. If that
- isn't already done, mkdir /sys and add an entry to /etc/fstab that looks
- something like this:
-
- sysfs /sys sysfs defaults 0 0
-
- The entry that must be visible before powernowd can function is:
-
- /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
-
- If that file isn't present, then the /etc/init.d/powernowd script will point
- you to this file instead of trying to launch the daemon...
-
- Hopefully, that's enough information to get you going!
-
- Bdale Garbee, <bdale@gag.com>, Mon, 29 Nov 2004 02:12:16 -0700
-
-